package com.dartfar.base.model;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;


@MappedSuperclass
public class BaseTreeEntity {
	
	// 属性层次标识
	private String treeSign;
	// 属性父节点
	private int parentId;
	//是否叶子节点
	private boolean leaf;
	
	@Column(length = 1000)
	public String getTreeSign() {
		return treeSign;
	}
	public void setTreeSign(String treeSign) {
		this.treeSign = treeSign;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}

	
}
